<!--{include header}-->

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="signup">
    <div id="content" class="signup-box">
        <div class="box">
            
            <div class="box-content">
                <div class="head">
                <ul>
                <li class="current"><a class="email-trigger " href="/account/signup.php"><i></i><span></span>邮箱注册</a></li>
                <li ><a class="mobile-trigger" href="/account/mobilesignup.php"><i></i><span></span>手机注册</a></li>
           	 	</ul>
                </div>
                <div class="sect">
                    <form id="signup-user-form" method="post" action="/account/signup.php" class="validator">
                        <div class="field email">
                            <label for="signup-email-address">Email</label>
                            <input type="text" size="30" name="email" id="signup-email-address" class="f-input" value="{$_POST['email']}" require="true" datatype="require|email|ajax" url="${WEB_ROOT}/ajax/validator.php" vname="signupemail" msg="请输入Email|Email格式不正确|Email已经被注册" /> 
                            <span class="hint">用于登录及找回密码，不会公开，请放心填写</span>
                        </div>
                        <div class="field username">
                            <label for="signup-username">用户名</label>
                            <input type="text" size="30" name="username" id="signup-username" class="f-input" value="{$_POST['username']}" datatype="require|limit|ajax" require="true" min="4" maxLength="16" url="${WEB_ROOT}/ajax/validator.php" vname="signupname" msg="请输入用户名|请输入4-16个字符|用户名已经被使用" />
                            <span class="hint">填写4-16个字符，一个汉字为一个字符</span>
                        </div>
                        <div class="field password">
                            <label for="signup-password">创建密码</label>
                            <input type="password" size="30" min="6" max="16" maxLength="16" name="password" id="signup-password" class="f-input" require="true" datatype="require|limit"  msg="请输入密码|请输入6-16位长密码"/>
                            <span class="hint">密码建议6-16位之间</span>
                        </div>
                        <div class="field password">
                            <label for="signup-password-confirm">确认密码</label>
                            <input type="password" size="30" name="password2" id="signup-password-confirm" class="f-input" require="true" datatype="require|compare" compare="signup-password" msg="请再次输入密码|两次输入密码不匹配" />
                        </div>
                        <!--{if !option_yes('mobilecode')}-->
                        <div class="field">
                            <label for="signup-password-confirm">手机号码</label>
                            <input type="text" size="30" name="mobile" id="signup-mobile" class="inumber" require="${option_yes('needmobile')?'true':'require'}" datatype="mobile|ajax" url="${WEB_ROOT}/ajax/validator.php" vname="signupmobile" msg="手机号码不正确|手机号码已经被注册" /><span class="inputtip">手机号码用于{$INI['system']['couponname']}的短信通知</span>
                        </div>
                        <!--{/if}-->
					<!--{if option_yes('verifyregister')}-->
						<!--{include block_block_captcha}-->
					<!--{/if}-->
						<div class="field city">
                            <label id="enter-address-city-label" for="signup-city">所在城市</label>
							<select name="city_id" class="f-city">${Utility::Option(Utility::OptionArray($allcities,'id','name'), $city['id'])}<option value='0'>其他</option></select>
                        </div>
						 <div class="field subscribe">
                            <input tabindex="3" type="checkbox" value="1" name="subscribe" id="subscribe" class="f-check" checked="checked" />
                            <label for="subscribe">订阅每日最新团购信息</label>
                        </div>

                        <div class="act">
                            <input type="submit" value="同意以下用户协议注册" name="commit" id="signup-submit" class="formbutton"/>
                        	<br/><a href="http://www.9i139.com/about/terms.php" target="_blank" class="terms" >《手机风尚网用户协议》</a>
                        </div>
                    </form>
                </div>
            </div>
            
        </div>
    </div>
    <div id="sidebar">
        <div class="sbox">
            <div class="sbox-top"></div>
            <div class="sbox-content">
                <div class="side-tip">
                    <h2>已有{$INI['system']['abbreviation']}账户？</h2>
                    <p>请直接<a href="/account/login.php">登录</a>。</p>
                </div>
            </div>
            <div class="sbox-bottom"></div>
        </div>
        <div class="sbox">
		    <div class="sbox-top"></div>
		    <div class="sbox-content">
		        <div class="side-tip">
		           <h2>用合作网站账号登录</h2>
                   <!--{if option_yes('qzonelogin')}-->
					<p><a href="/thirdpart/qzone/index.php"><img src="/static/css/i/qq.gif" /></a></p>
                   <!--{/if}-->
		           <!--{if option_yes('qqlogin')}-->
				   <p><a href="/thirdpart/qq/index.php"><img src="/static/css/i/qq.png" /></a></p>
				   <!--{/if}-->
				   <!--{if option_yes('sinalogin')}-->
				   <p><a href="/thirdpart/sina/login.php"><img src="/static/css/i/sina_login.png" /></a></p>
				   <!--{/if}-->
				   <!--{if $INI['alipay']['alifast'] == 'Y'}-->
				   <p><a href="/alifast/auth_authorize.php"><img src="/static/css/i/btn_login_zfbkj.png" /></a></p>
				   <!--{/if}-->
			    </div>
		    </div>
		    <div class="sbox-bottom"></div>
	     </div>
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include footer}-->
